package com.doupi.partner.service;

import com.doupi.partner.dal.model.AdministratorPermission;
import com.doupi.partner.util.Pagination;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface AdministratorPermissionService {
	int deleteByPrimaryKey(Long id);

	int insert(AdministratorPermission record);

	AdministratorPermission selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(AdministratorPermission record);

	int countAdministratorPermission(AdministratorPermission administratorPermission);

	List<AdministratorPermission> queryAdministratorPermissions(AdministratorPermission administratorPermission, RowBounds rowBounds);

	AdministratorPermission selectAdministratorPermissionForUpdateByPrimaryKey(Long id);

	Pagination<AdministratorPermission, AdministratorPermission> queryAdministratorPermissions(Pagination<AdministratorPermission, AdministratorPermission> pagination);
}
